package com.sun.design.singleton02;

public class Singleton02 {
    public static void main(String[] args) {

    }
}
class Singleton{
    private Singleton(){
    }
    private static class SingletonInstance{
        private static final Singleton INSTANCE = new Singleton();
    }
    public static Singleton getInstance(){
        return SingletonInstance.INSTANCE;
    }
}